package cn.xny.order.service;

import cn.xny.basic.service.BaseService;
import cn.xny.basic.util.PageList;
import cn.xny.order.domain.OrderPetAcquisition;
import cn.xny.order.dto.OrderDto;
import cn.xny.order.query.OrderPetAcquisitionQuery;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2023-02-21
 */
public interface OrderPetAcquisitionService extends BaseService<OrderPetAcquisition> {

    //查询所有待处理订单
 PageList<OrderPetAcquisition> pageQuery( OrderPetAcquisitionQuery query, HttpServletRequest
            request) ;


    //取消订单
    void cancel(Long id);

    //接单
    void confirm(OrderDto orderDto);
}
